package com.ruoyi.project.abucoder.detail.domain;

import com.ruoyi.project.abucoder.prize.domain.Prize;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 抽奖明细对象 prize_detail
 * 
 * @author wuyy
 * @date 2024-04-28
 */
public class PrizeDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /**  */
    @Excel(name = "")
    private String openid;

    /**  */
    @Excel(name = "")
    private Long prizeid;

    private Date createtime;

    private Prize prize;

    public Prize getPrize() {
        return prize;
    }

    public void setPrize(Prize prize) {
        this.prize = prize;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOpenid(String openid)
    {
        this.openid = openid;
    }

    public String getOpenid()
    {
        return openid;
    }
    public void setPrizeid(Long prizeid)
    {
        this.prizeid = prizeid;
    }

    public Long getPrizeid()
    {
        return prizeid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("openid", getOpenid())
            .append("prizeid", getPrizeid())
            .append("createtime", getCreatetime())
            .toString();
    }
}
